package com.zbiti.anvil.job.executor;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 任务执行器启动类
 *
 * @author Fanyc
 * @date 2021-01-06 14:59
 */
@SpringBootApplication(scanBasePackages = {"com.zbiti"}
        , exclude = {DataSourceAutoConfiguration.class})
@MapperScan("com.zbiti.**.mapper")
public class JobExecutorBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(JobExecutorBootApplication.class, args);
    }
}
